<template>
    <div>
        <div class='bk'>

        </div>
        <van-icon name="arrow-left"  color='black' size='28px' class="icon" @click="rap"/>

        <van-action-sheet v-model="show" title="分享给朋友">
                <van-row>
                <van-col span="16" offset="1"><share :config="config" class='share'></share></van-col>
                </van-row>
                
        </van-action-sheet>

        <van-icon  name="share"  color='black' size='28px' class="icon1" @click='map'/>
        <van-row class='van'>
            <van-col span="22" offset="1">一到秋冬就感觉一到秋冬就感觉一到秋冬就感觉一到秋冬就感觉一到秋冬就感觉一到秋冬就感觉一到秋冬就感觉一到秋冬就感觉一到秋冬就感觉一到秋冬就感觉一到秋冬就感觉一到秋冬就感觉
                <a href="javascript:;">点击此处加入课程</a>
            </van-col>
        </van-row>
        <div class='shadow'></div>
        <van-row class='join'>
            <van-col span="2" offset="2"><img src="https://img.yzcdn.cn/2.jpg" alt=""></van-col>
            <van-col span="2" ><img src="https://img.yzcdn.cn/2.jpg" alt=""></van-col>
            <van-col span="2"><img src="https://img.yzcdn.cn/2.jpg" alt=""></van-col>
            <van-col span="2"><img src="https://img.yzcdn.cn/2.jpg" alt=""></van-col>
            <van-col span="2"><img src="https://img.yzcdn.cn/2.jpg" alt=""></van-col>
            <van-col span="6" offset="4" class='con'><a href="http://localhost:8080/#/content">6666人参与</a></van-col>
            <van-col span="2"><van-icon name="arrow" color='black' size='28px'/></van-col>
        </van-row>
        <div class='shadow1'></div>
        <van-tabs v-model="active" color='gray'>
            <van-tab title="精选 1">
                <van-row class='van1'>
                    <van-col span="1" offset="1" class='join1'><img src="https://img.yzcdn.cn/2.jpg" alt=""></van-col>
                    <van-col span="5"  offset="3">
                        <span>昵称</span>
                        <p>10分钟前</p>
                    </van-col>
                    <van-col span="4" offset="9"><button>+关注</button></van-col>
                </van-row>
                <van-row class='van2'>
                    <van-col span="16" offset="1" class='join1'>锻炼完后大汗淋漓<a href="javascript:;">#热门话题#</a></van-col>
                </van-row>
                <van-row class='van3'>
                    <van-col span="7" offset="1"><img src="https://img.yzcdn.cn/2.jpg" alt=""></van-col>
                    <van-col span="7"><img src="https://img.yzcdn.cn/2.jpg" alt=""></van-col>
                </van-row>
                <van-row class='van4'>
                    <van-col span="6" offset="1">标签/地点/分类</van-col>
                </van-row>
                <div class='shadow2'></div>
                <van-row class='van5' >
                    <van-col span="4" offset="3"><van-icon  name="comment-o"  color='black' size='24px'/></van-col>
                    <van-col span="4" offset="4"><van-icon  name="thumb-circle-o"  color='black' size='24px'/></van-col>
                    <van-col span="4" offset="4"><van-icon  name="share"  color='black' size='24px'/></van-col>
                </van-row>
                <div class='shadow3'></div>


                <van-row class='van1'>
                    <van-col span="1" offset="1" class='join1'><img src="https://img.yzcdn.cn/2.jpg" alt=""></van-col>
                    <van-col span="5"  offset="3">
                        <span>昵称</span>
                        <p>10分钟前</p>
                    </van-col>
                    <van-col span="4" offset="9"><button>+关注</button></van-col>
                </van-row>
                <van-row class='van2'>
                    <van-col span="16" offset="1" class='join1'>锻炼完后大汗淋漓<a href="javascript:;">#热门话题#</a></van-col>
                </van-row>
                <van-row class='van3'>
                    <van-col span="7" offset="1"><img src="https://img.yzcdn.cn/2.jpg" alt=""></van-col>
                    <van-col span="7"><img src="https://img.yzcdn.cn/2.jpg" alt=""></van-col>
                </van-row>
                <van-row class='van4'>
                    <van-col span="6" offset="1">标签/地点/分类</van-col>
                </van-row>
                <div class='shadow2'></div>
                <van-row class='van5' >
                    <van-col span="4" offset="3"><van-icon  name="comment-o"  color='black' size='24px'/></van-col>
                    <van-col span="4" offset="4"><van-icon  name="thumb-circle-o"  color='black' size='24px'/></van-col>
                    <van-col span="4" offset="4"><van-icon  name="share"  color='black' size='24px'/></van-col>
                </van-row>
                <div class='shadow3' id='sha'></div>

            </van-tab>
            


            <van-tab title="最新 2">
                
                内容 2
                
            </van-tab>
            
            <van-tabbar v-model="active">
                <van-tabbar-item class='van6'>发动态参与话题</van-tabbar-item>
            </van-tabbar>
        </van-tabs>

    </div>
</template>

<script>
export default {
    name:'Hot',
    data () {
        return {
            active:0,
            show:false,
            config:{
                url: 'http://www.baidu.com', // 网址，默认使用 window.location.href
                source:'', // 来源（QQ空间会用到）, 默认读取head标签：<meta name="site" content="http://overtrue" />
                title: 'hello', // 标题，默认读取 document.title 或者 <meta name="title" content="share.js" />
                description: 'hi', // 描述, 默认读取head标签<meta name="description" content="PHP弱类型的实现原理分析" />
                image : '', // 图片, 默认取网页中第一个img标签
                sites: ['wechat','douban','weibo','qq' ,'qq'], // 启用的站点
                disabled: [''], // 禁用的站点
                wechatQrcodeTitle: '微信扫一扫：分享', // 微信二维码提示文字
                wechatQrcodeHelper  : '<p>微信里点“发现”，扫一下</p><p>二维码便可将本文分享至朋友圈。</p>'
            },
        }
    },
    mounted () {
        
    },
    methods: {
        map(){
            this.show=true;
        },
        rap(){
            this.$router.go(-1)
        }
    }
}
</script>

<style scoped>
.icon{
    position: fixed;
    left:20px;
    top:15px;
    z-index: 100
}
.icon1{
    position: fixed;
    left:323px;
    top:15px;
     z-index: 100
}
.bk{
    width:375px;
    height:180px;
    background:pink;
}
.van{
    font-size: 14px;
    margin-top: 5px;
}
.van a{
    color: black;
    font-size: 14px;
}
.shadow{
    width: 355px;
    height: 1px;
    background: silver;
    margin: 0 auto;
    margin-top: 30px;
}
.shadow1{
    width: 375px;
    height: 12px;
    background: silver;
    margin-top: 30px;
}
.join{
    margin-top: 20px;
    margin-bottom: 10px;
}
.join img{
    width: 28px;
    height: 28px;
}
.join1 img{
    width: 50px;
    height: 50px;
    border-radius: 25px;
}
.van1{
    margin-top: 20px;
}
.van1 span{
    font-size: 14px;
}
.van1 p{
    font-size: 12px;
    margin-top: 3px;
}
.van2{
    font-size: 14px;
    margin-top: 15px;
}
.van2 a{
    color:black;
    font-size: 14px;
}
.van3{
    margin-top: 10px;
}
.van3 img{
    width: 100px;
    height: 100px;
}
.van4{
    font-size: 12px;
    color:silver;
    margin-top: 10px;
    margin-bottom: 20px;
}
.van6{
    font-size: 16px;
    color:black;
    background: silver;
}
.shadow2{
    width: 355px;
    height: 1px;
    background: silver;
    margin-left: 20px;
    margin-bottom: 20px;
}
.shadow3{
    width: 375px;
    height: 12px;
    background: silver;
    margin-top: 20px;
}
#sha{
    margin-bottom: 60px
}
.con a{
    color:black;
}
</style>